export default [
    {
        path: '/',
        name: 'home',
        redirect: '/login'
    },
    {
        meta: {
            title: '登录',
            noRequestApprove: true,
            keepAlive: false,
            isBack:false,
        },
        path: '/login',
        name:'login',
        component: resolve => require(['views/login'], resolve)
    },
    {
        meta: {
            noRequestApprove: false,
            keepAlive: false,
            isBack: false,
        },
        path: '/cpaDataMana',
        name: 'cpaDataMana',
        component: resolve => require(['views/index'], resolve),
        children: [
            {
                meta: {title: '实时数据',keepAlive:true,isBack:false,},
                path: 'realTimeData',
                name: 'realTimeData',
                component: resolve => require(['views/cpaDataMana/realTimeData'], resolve),
            },
        ]
    },
    {
        path: '*',
        meta: {
            noRequestApprove: true
        },
        component: resolve => require(['views/login'], resolve)
    }
];
